home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ Welcome Options 1.xpl < prev    next >
Text File  |  1999-07-18  |  2KB  |  65 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Appearance\Misc"
  5. "NAME"="Welcome Windows"
  6. "VERSION"="1.31"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Show Windows "Welcome" window"
  9. "TEXT 2"="Show Internet Explorer "Welcome" window"
  10. "TEXT 3"="Show animated "<- Click here to start""
  11. "DESCRIPTION 1"="Some options about the startup-process."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  15.  
  16.  
  17. Sub Plugin_Initialize 
  18.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show")
  19.  if i=1000 then SetUIElement 1,true
  20.  
  21.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4")
  22.  if i=1 then SetUIElement 2,true
  23.  
  24.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner")
  25.  if i=0 then SetUIElement 3,true
  26. End Sub
  27.  
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32.  
  33.  
  34. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  b=GetUIElement(1)
  36.  if b=true then
  37.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","1000",3)
  38.  else
  39.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","0000",3)
  40.  end if
  41.  
  42.  b=GetUIElement(2)
  43.  if b=true then
  44.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",1,2)
  45.  else
  46.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",0,2)
  47.  end if
  48.  
  49.  b=GetUIElement(3)
  50.  if b=true then
  51.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",0,2)
  52.  else
  53.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",1,2)
  54.  end if
  55.  
  56.  Restart
  57. End Sub
  58.  
  59.  
  60. Sub Plugin_Terminate 
  61. End Sub
  62.  
  63.  
  64.  
  65.